/*
 * @Copyright: Copyright (C) AMCAX, All rights reserved.
 * @Author: 殷建峰
 * @Date: 2024-11-28 16:00:21
 * @LastEditTime: 2025-03-04 16:38:57
 * @LastEditors: 殷建峰
 * @Description:
 */
import React from 'react';
import './style.scss';
import ComponentModal from './modals/ComponentModal';
import ModelPreviewModal from './modals/ModelPreviewModal';
import ReloadModal from './modals/ReloadModal';
import AIChat from '@app-base/common/components/AIChat';
import { FeatureManager } from '@amcax/base';

export default function AssistLayer() {
  return (
    <div id='assist-layer'>
      <div id='material-box'></div>
      <ComponentModal />
      <ModelPreviewModal />
      <ReloadModal />
      {FeatureManager.isFeatureEnabled('ai-chat') && <AIChat />}
    </div>
  );
}
